BTDecorator = BTParentTask:New()

local this = BTDecorator
this.taskType = BTTaskType.Decorator

function this:New()
	local o = {}
	setmetatable(o, self)
	self.__index = self
	return o
end

function this:GetChild()
	if (self:GetChildCount() ~= 1) then
		return nil
	end
	return self.childTasks[1]
end